/* body颜色设置 */
body {
    background-color: #f5f5f5;
}
/* header设置 */
header {
    height: 52px;
    background-color: #333;
}
/* header内容的盒子设置 */
.bx {
    width: 1240px;
    margin: 0 auto;
}
header ul li {
    float: right;
    font-size: 14px;
    line-height: 52px;
}
header ul li a {
    color: #dcdcdc;
}
header ul li:nth-child(even) {
    width: 1px;
    height: 14px;
    background-color: #666;
    margin: 19px 10px;
}
header ul li:first-child::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 20px;
    vertical-align: middle;
    margin: 0px 4px;
    background: url("../images/sprites.png") -160px -69px;
}
/* 导航栏设置 */
nav {
    height: 130px;
    background-color: #fff;
}
nav > div {
    overflow: hidden;
}
nav h3 {
    float: left;
    line-height: 130px;
}
nav h3 a img {
    width: 207px;
    height: 70px;
    vertical-align: middle;
}
nav ul {
    float: left;
    overflow: hidden;
    margin-left: 40px;
    line-height: 130px;
}
nav ul li {
    margin-right: 50px;
}
nav ul li a {
    color: #333;
    padding-bottom: 8px;
}
nav ul li:nth-child(2) a {
    border-bottom: 1px solid #27ba9b;
    color: #27ba9b;
}
nav .search {
    float: left;
    margin-top: 54px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
}
nav .search::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../images/sprites.png") -80px -70px;
    vertical-align: middle;
}
nav .shop {
    position: relative;
    float: right;
    width: 33px;
    height: 23px;
    margin-top: 58px;
    background: url("../images/sprites.png") -120px -70px;
}
nav .shop .circle {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 15px;
    background-color: #e26237;
    border-radius: 8px;
    text-align: center;
    line-height: 15px;
    color: #fff;
    margin-top: -5px;
    font-size: 13px;
}
/* 轮播图区域 */
.banner {
    height: 500px;
}
.banner .bx {
    position: relative;
}
.banner .left {
    position: absolute;
    left: 0;
    top: 0;
    float: left;
    width: 250px;
    overflow: hidden;
    background-color: rgba(0,0,0,.8);
}
.banner .left ul li {
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding-left: 36px;
}
.banner .left ul li a span {
    margin-right: 15px;
    font-size: 16px;
    color: #fff;
}
.banner .left ul li a {
    color: #fff;
    font-size: 14px;
}
.banner .left ul li:hover {
    background-color: #27ba9b;
    cursor: pointer;
}
.banner .left ul li::after {
    content: "";
    float: right;
    margin-top: 19px;
    margin-right: 19px;
    width: 16px;
    height: 11px;
    background: url("../images/sprites.png") -80px -110px;
}
.banner .right {
    float: right;
    position: absolute;
    overflow: hidden;
    width: 990px;
    height: 100%;
    top: 0;
    right: 0;
}
.banner .right .right_arrow {
    position: absolute;
    z-index: 10;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,.2) url("../images/sprites.png") -23px -59px;
    border-radius: 50%;
    cursor: pointer;
}
.banner .right .left_arrow {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0,0,0,.2) url("../images/sprites.png") no-repeat 14px -59px;
    cursor: pointer;
}
.banner .right ul {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.banner .right ul li {
    width: 10px;
    height: 10px;
    margin-left: 10px;
    background-color: rgba(0,0,0,.43);
    border-radius: 50%;
    cursor: pointer;
}
.banner .right ul li:nth-child(3) {
    background-color: #fff;
}
/* 主体内容 */
.top {
    background-color: #fff;
    height: 1094px;
}
.top .goods {
    overflow: hidden;
}
.top .goods li {
    height: 400px;
    width: 304px;
    margin-right: 8px;
    background-color: #f0f9f4;
}
.top .goods li:nth-child(4n) {
    margin-right: 0;
}
.top .goods li img {
    height: 305px;
    width: 304px;
}
.top .goods li h3 {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-top: 10px;
}
.top .goods li p {
    font-size: 23px;
    color: #9a2e1f;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
.top .goods li p span {
    font-size: 17px;
}
.top .goods .title,.top .recommend .title {
    overflow: hidden;
}
.top .goods .title h2,.top .recommend .title h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    color: #333;
    line-height: 80px;
}
.top .goods .title p,.top .recommend .title p {
    color: #999;
    line-height: 90px;
}
.top .goods .title p:nth-of-type(1) {
    float: left;
    margin-left: 34px;
}
.top .goods .title p:nth-of-type(2) {
    float: right;
}
.top .goods .title p:nth-of-type(2)::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    background: url("../images/sprites.png") 0 -109px;
    margin-left: 15px;
}
.top .recommend .title p {
    float: left;
    margin-left: 34px;
    color: #999;
    line-height: 90px;
}

.top .recommend ul li a img {
    width: 304px;
    height: 305px;
}
.top .recommend ul li {
    margin-right: 8px;
}
.top .recommend ul li:nth-child(4n) {
    margin-right: 0px;
}
.top .recommend ul li a {
    text-align: center;
}
.top .recommend ul li a h3 {
    color: #333;
    font-size: 21px;
    font-weight: 400;
    margin-top: 10px;
}
.top .recommend ul li a p {
    color: #999;
    margin-top: 10px;
}
.hot_brand {
    height: 466px;
}
.hot_brand .title {
    overflow: hidden;
}
.hot_brand .title h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    color: #333;
    line-height: 80px;
}
.hot_brand .title p {
    float: left;
    color: #999;
    line-height: 90px;
    margin-left: 34px;
}
.hot_brand .title_bottom {
    overflow: hidden;
}
.hot_brand .title_bottom .arrow_right {
    float: right;
    width: 20px;
    height: 25px;
    background: #e2e2e2 url("../images/sprites.png") 2px -69px;
    margin-right: 12px;
}
.hot_brand .title_bottom .arrow_left {
    float: right;
    width: 20px;
    height: 25px;
    background: #27ba9b url("../images/sprites.png") -36px -69px;
}
.hot_brand ul {
    margin-top: 20px;
}
.hot_brand ul li {
    margin-right: 5px;
}
.hot_brand ul li img {
    width: 244px;
    height: 306px;
}
.hot_brand ul li:nth-child(5n) {
    margin-right: 0px;
}
.classify {
    height: 2880px;
    background-color: #fff;
}
.classify .bx > ul > li {
    width: 100%;
    height: 690px;
}
.classify .bx > ul li .title {
    overflow: hidden;
}
.classify .bx > ul li .title h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    color: #333;
    line-height: 80px;
}
.classify .bx > ul li .title ul {
    float: right;
    margin-left: 75px;
}
.classify .bx > ul li .title ul li {
    height: 20px;
    width: 46px;
    line-height: 80px;
}
.classify .bx > ul li .title ul li:first-child a {
    background-color: #27ba9b;
    color: #fff;
    padding: 2px;
}
.classify .bx > ul li .title ul li a {
    color: #333333;
}
.classify .bx > ul li .title p {
    float: right;
    color: #999;
    line-height: 80px;
    margin-left: 65px;
}
.classify .bx > ul li .title p::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    background: url(../images/sprites.png) 0 -110px;
    margin-left: 15px;
}
.classify .bx > ul li .content {
    overflow: hidden;
}
.classify .bx > ul {
    overflow: hidden;
}
.classify .bx > ul li .content .left {
    float: left;
    width: 240px;
    height: 610px;
}
.classify .bx > ul li .content .left img {
    width: 242px;
    height: 617px;
}
.classify .bx > ul li .content .right {
    float: right;
    width: 1000px;
    height: 610px;
}
.classify .bx > ul li .content .right ul li img {
    width: 184px;
    height: 184px;
}
.classify .bx > ul li .content .right ul li {
    width: 235px;
    height: 303px;
    margin-right: 8px;
    position: relative;
    overflow: hidden;
}
.classify .bx > ul li .content .right ul li:nth-child(4n) {
    margin-right: 0px;
}
.classify .bx > ul li .content .right ul {
    margin-left: 36px;
    overflow: hidden;
}
.classify .bx > ul li .content .right ul li h3 {
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-top: 17px;
}
.classify .bx > ul li .content .right ul li p {
    color: #333;
}
.classify .bx > ul li .content .right ul li p:last-child {
    margin-top: 10px;
    font-size: 22px;
    color: #9a2e1f;
}
.classify .bx > ul li .content .right ul li p:last-child span {
    font-size: 17px;
}
.classify .bx > ul li .content .right ul li:hover {
    border: 1px solid #27ba9b;
}
.classify .bx > ul li .content .right ul li:hover::after {
    content: "发现更多宝贝 >";
    display: block;
    width: 235px;
    height: 94px;
    background-color: #27ba9b;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 18px;
    color: #fff;
    text-align: center;
    line-height: 94px;
    cursor: pointer;
}
.classify .bx > ul li .content .left {
    position: relative
}
.classify .bx > ul li .content .left a {
    position: absolute;
}
.classify .bx > ul li .content .left .mask {
    position: absolute;
    width: 76px;
    height: 67px;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 67px;
    top: 50%;
}
.classify .bx > ul li .content .left .mask::after {
    content: "全场满减";
    display: inline-block;
    position: absolute;
    text-align: center;
    width: 100px;
    height: 67px;
    padding-left: 10px;
    background-color: rgba(0,0,0,.8);
}
.new_part {
    height: 430px;
}
.new_part .title {
    overflow: hidden;
}
.new_part .title p {
    float: right;
    line-height: 90px;
    color: #999;
}
.new_part .title p::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 13px;
    background: url(../images/sprites.png) 0 -110px;
    margin-left: 15px;
}
.new_part .title h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    color: #333;
    line-height: 80px;
}
.new_part  ul {
    overflow: hidden;
}
.new_part ul li {
    width: 404px;
    overflow: hidden;
    margin-right: 13px;
}
.new_part ul li:nth-child(3n) {
    margin-right: 0;
}
.new_part ul li a {
    display: block;
    overflow: hidden;
    position: relative;
}
.new_part ul li a img {
    width: 406px;
    height: 288px;
}
.new_part ul li a h3 {
    position: absolute;
    top: 138px;
    left: 15px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
}
.new_part ul li a p:nth-of-type(1) {
    color: #999;
    position: absolute;
    left: 15px;
    top: 175px;
}
.new_part ul li a p:nth-of-type(2) {
    width: 81px;
    height: 27px;
    background-color: #fff;
    text-align: center;
    line-height: 27px;
    font-size: 17px;
    color: #9a2e1f;
    position: absolute;
    left: 308px;
    top: 170px;
}
.new_part ul li a p:nth-of-type(2) span {
    font-size: 14px;
}
.new_part ul li a .st {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 67px;
    background-color: #fff;
}
.new_part ul li a .st span {
    color: #333;
    font-size: 14px;
}
.new_part ul li a .st span {
    margin-top: 27px;
    float: left;
}
.new_part ul li a .st span:nth-child(1) {
    margin-left: 17px;
}
.new_part ul li a .st span:nth-child(2) {
    margin-left: 25px;
}
.new_part ul li a .st span:nth-child(3) {
    float: right;
    margin-right: 19px;
}
.new_part ul li a .st span:nth-child(1)::before {
    content: "";
    display: inline-block;
    background: url(../images/sprites.png) -120px -110px;
    width: 17px;
    height: 17px;
    vertical-align: middle;
}
.new_part ul li a .st span:nth-child(2)::before {
    content: "";
    display: inline-block;
    background: url(../images/sprites.png) -159px -110px;
    width: 17px;
    height: 17px;
    vertical-align: middle;
}
.new_part ul li a .st span:nth-child(3)::before {
    content: "";
    display: inline-block;
    background: url(../images/sprites.png) -199px -109px;
    width: 17px;
    height: 17px;
    vertical-align: middle;
}
.self {
    height: 302px;
    background-color: #fff;
}
.self ul {
    overflow: hidden;
}
.self ul li {
    width: 210px;
    margin-right: 80px;
    padding-top: 79px;;
    overflow: hidden;
}
.self ul li:nth-child(4) {
    width: 1px;
    height: 189px;
    margin-top: 70px;
    background-color: #f2f2f2;
    margin-right: 0;
}
.self ul li h2 {
    font-weight: 500;
    color: #999;
    font-size: 16px;
    text-align: center;
}
.self ul li .content {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    text-align: center;
    margin-top: 58px;
    margin-left: 33px;
} 
.self ul li:nth-child(5) .content div:nth-child(1) {
    font-size: 22px;
    height: 17px;
    width: 160px;
    text-align: center;
    color: #666;
}
.self ul li:nth-child(5) .content div:nth-child(2) {
    font-size: 15px;
    height: 14px;
    width: 159px;
    margin-top: 17px;
    color: #999;
}
.self ul li:nth-child(1) .left,.self ul li:nth-child(2) .left {
    width: 93px;
    height: 93px;
}
.self ul li:nth-child(2) .left {
    background: url(../images/sprites.png) -205px -70px;
}
.self ul li:nth-child(1) .right,.self ul li:nth-child(2) .left {
    width: 93px;
    height: 93px;
}
.self ul li:nth-child(3) .right,.self ul li:nth-child(3) .left {
    width: 105px;
    height: 105px;
}
footer {
    height: 343px;
    background-color: #333;
}